<?php include('app/admin/welcome/html/meta.html');?>
<?php include('app/admin/welcome/html/header.html');?>
<?php include('app/admin/welcome/html/menu.html');?>

<section class="Hui-article-box">
	<nav class="breadcrumb"><i class="Hui-iconfont"></i>
		<a href="/" class="maincolor">首页</a>
		<span class="c-999 en">&gt;</span>
		<span class="c-666">修改导航</span>
		<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont">&#xe68f;</i></a>
	</nav>
	<div class="Hui-article">

		<article class="page-container">
			<form class="form form-horizontal" id="form-article-add" method="post" action="index.php?a=admin&b=nav&c=update">
				<input style="display: none;" type="text" name="Id" id="Id" value="<?php echo $re['Id']?>" />
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span>导航名称：</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" class="input-text" value="<?php echo $re['name']?>" placeholder="" id="name" name="name">
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>父级导航：</label>
					<div class="formControls col-xs-8 col-sm-9"> <span class="select-box">
				<select id="cate" name="pid" class="select">
					<option value="0">父级导航</option>
					<?php foreach($father as $k=>$v){?>
						<?php if($v['pid']==0){?>
							<option value="<?php echo $v['Id'];?>"><?php echo $v['name'];?></option>
						<?php }?>
					<?php }?>
				</select>
				</span> </div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span>模块：</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" class="input-text" value="<?php echo $re['a']?>" placeholder="" id="a" name="a">
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span>控制器：</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" class="input-text" value="<?php echo $re['b']?>" placeholder="" id="b" name="b">
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span>视图：</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" class="input-text" value="<?php echo $re['c']?>" placeholder="" id="c" name="c">
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span>是否显示：</label>
					<div class="formControls col-xs-8 col-sm-9">
						<select id="display" name="display" class="select">
							<option value="1">显示</option>
							<option value="0">不显示</option>
						</select>
					</div>
				</div>
				<div class="row cl">
					<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
						<button onClick="article_save_submit();" class="btn btn-primary radius" type="submit"><i class="Hui-iconfont">&#xe632;</i> 保存并提交</button>
						
						<button onClick="removeIframe();" class="btn btn-default radius" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
					</div>
				</div>
			</form>
		</article>
	</div>
</section>

<?php include('app/admin/welcome/html/footer.html');?>

<!--请在下方写此页面业务相关的脚本-->

<!-- 配置文件 -->
<script type="text/javascript" src="static/lib/ueditor/1.4.3/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="static/lib/ueditor/1.4.3/ueditor.all.js"></script>
<!-- 实例化编辑器 -->
<script type="text/javascript">
        var ue = UE.getEditor('container');
</script>
<!--/请在上方写此页面业务相关的脚本-->

</body>

</html>